package com.hktf.corelib.utils;

/**
 * 通知UI消息
 *
 * @author Administrator
 */
public class UIMessage {

    /**
     * 通知UI线程显示界面
     */
    public static final int UM_SHOW_UI_MSG = 0;
    /**
     * 通知UI线程显示对话框
     */
    public static final int UM_SHOW_DLG_MSG = 1;
    /**
     * 通知UI关闭提示对话框
     */
    public static final int UM_CLOSE_DLG_MSG = 2;
    /**
     * 通知激活ECU的结果
     */
    public static final int UM_NOTIFY_ACTIVE_RESULT = 3;
    /**
     * 通知UI显示列表界面
     */
    public static final int UM_SHOW_LIST_MSG = 4;
    /**
     * 通知UI自动获取控件数据
     */
    public static final int UM_AUTO_GET_UI_DATA_MSG = 5;
    /**
     * 通知UI刷新界面
     */
    public static final int UM_UPDATE_UI_MSG = 6;
    /**
     * 通知UI界面ICON图标消息
     */
    public static final int UM_NOTIFYICON_MSG = 7;
    /**
     * 通知UI更新连接状态
     */
    public static final int UM_UPDATE_CONNECT_STATUS = 8;
    /**
     * 通知UI调用功能
     */
    public static final int UM_CALL_FUNCTION = 9;

    public static final int UM_SET_CONTROL_STATE = 10;

    /**
     * 发送protocol数据
     */
    public static final int UM_PUT_PROTOCOL_MAP = 11;
    public static final int UM_UPDATE_PROGRESS = 12;
    public static final int UM_UPDATE_PROGRESS_TIP = 13;

    public static final int UM_SAVE_CONFIG = 14;
    public static final int UM_LOAD_CONFIG = 15;
    /*
     * 显示授权界面
     */
    public static final int UM_AUTHORIZE_MSG = 16;
    /*
     * 自动诊断结果
     */
    public static final int UM_SELF_DIAGNOSIS_MSG = 17;
    /**
     * 远程诊断对话框按钮点击消息
     */
    public static final int UM_REMOTE_CONTROL_DIALOG = 18;

    public static final int UM_SET_CONTROL_VALUE = 19;
    /**
     * 要激活系统的ID
     */
    public static final int UM_ACTIVE_SYSTEM_ID = 20;
    /**
     * 退出诊断系统
     */
    public static final int UM_EXIT_SYSTEM = 21;


    /**
     * DSSelectForRecordDlg中，更新勾选数据流条数
     */
    public static final int UM_UPDATE_DATASTREAMSCOUNT = 100;
    /**
     * 行车记录故障码触发界面，更新故障码选择
     */
    public static final int UM_UPDATE_DTCSELECTED = 1000;
    public static final int UM_UPDATE_DTCCANCLE = 1001;
    public static final int UM_UPDATE_DSSELECT = 1002;
    public static final int UM_DSSTRIKE_SELECT = 1003;
    public static final int UM_UPDATE_DSCANCLE = 1001;
    /**
     * 关闭退出ECU等待框
     */
    public static final int UM_CLOSEWAITDLG = 300;


    /**
     * 追加实时状态信息
     */
    public static final int UM_UPDATE_REALTIME_STATE_VALUE = 22;
    /**
     * 清空实时状态信息
     */
    public static final int UM_EMPTY_REALTIME_STATE_VALUE = 23;
    /**
     * 置灰清零或点亮数据流
     */
    public static final int UM_UPDATE_DS_CTRL_STATE = 24;

    public static final int UM_RETURN_TO_MENU = 25;

    public static final int UM_TIP_OK = 26;//jump 1 ,2 弹框 用户点击确定消息
    /**
     * B80显示图片
     */
    public static final int UM_SHOW_IMAGE = 27;
    /**
     * 获得控件状态
     */
    public static final int UM_GET_CTRL_STATE = 28;
    /**
     * get_seed_key 完成
     */
    public static final int UM_GET_SEEDKEY_END = 29;

    /**
     * 通知UI显示特殊功能界面
     */
    public static final int UM_SHOW_MENU_MSG = 30;


}
